Repository navigation
fix(runtime): the personal-view and attachment own-door 501s follow the request's language, like the print door's - #37594
Conversation
…he request's language Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgUpnvPnJ1hR74pUrVj
📓 Docs Drift Check8 anchor(s) derived from 2 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 182 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin aff2fd6fa41533b4f08f01743882d53a4780a1ad && git checkout aff2fd6fa41533b4f08f01743882d53a4780a1ad
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 6c290d3af7c52d019d1de1c09b6b0306f09700bb 9a610dc7157a35e3b9f241e3b28caa288b3f1818 && git checkout -B drift-repro 6c290d3af7c52d019d1de1c09b6b0306f09700bb && git merge --no-ff 9a610dc7157a35e3b9f241e3b28caa288b3f1818
node scripts/docs-audit/affected-docs.mjs --json 6c290d3af7c52d019d1de1c09b6b0306f09700bb |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Inputs read: card #37352 (body and its four comments, the claim 7194367121 and its amendment 7194982901 among them), PR #37594 (body, five-file list, net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nit:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head 9a610dc · card #37352 · area s2-ux-T · 2026-11-26T15:18ZL1 checklist
Tier: S. Landing: ready + auto-merge by this stroke. |
Requested by Sales · project thread
Fixes #37352
Clause-②: yes (widening)
Metadata-protocol: none
Skills-docs: none (no page under
skills/**names the own-door bridge or its501sentences)维护者速读
What changes
packages/spec/src/system/operation-message.ts: the operation-message catalog (BUILTIN_OPERATION_MESSAGES) gains the two doors' nouns,own_door_personal_view_deleteandown_door_attachment_mutate, inen,zh-CN,ja-JPandes-ES. The English of each is the bridge's currentnoun, byte for byte. The catalog header names all three noun keys.packages/runtime/src/domains/personal-views.ts,attachments.ts: each bridge setsnounKey, asprint.tsdoes since fix(runtime, spec): the /actions forward-unavailable 503 and the print door's 501 follow the request's language #37336, sonotImplementedSentencerenders both501sentences (own_door_service_unregistered,own_door_member_missing) in the request's topAccept-Languagetag.NOT_IMPLEMENTED, status501, the slot, member and package names are unchanged, and nouserMessageis added.Small calls made here (no card): the Spanish attachment noun is singular (
el punto de acceso para eliminar y renombrar adjuntos) so the catalog's singularno está disponibleagrees with it; the English keeps its existing plural noun withis, since it must stay byte-identical.Why
After #37336 the print door answered its own-door
501in the reader's language while the two sibling doors on the same bridge answered in English, so one failure mode read in two languages depending on the door.Verification
packages/runtime/src/domains/own-door-bridge.test.ts, new describe[#37352]: for both doors (personal-viewDELETE; attachmentDELETEandPATCH), on a kernel with no service and with a service lacking its member, the501 NOT_IMPLEMENTEDmessage is pinned inen(and with no header),zh-CN,ja-JPandes-ES, with nouserMessage; the catalog English of all three noun keys equals each bridge'snoun. Red first: withnounKeyremoved from the personal-view bridge, 3 of the 50 tests fail.#37273control "a bridge that names no noun key keeps its English sentence" now takes a shipped bridge with its key removed and hands it tohandleOwnDoorBridgeRequestdirectly, since no shipped bridge lacks one any more.9a610dc71:@objectstack/runtimevitestsrc/domains240 files / 7,024 tests pass;@objectstack/specvitestsrc/system78 files / 2,787 pass;@objectstack/coreoperation-user-message.test.ts9/9;pnpm --filter @objectstack/spec check:generatedexit 0; eslint on the touched files exit 0;tsc --noEmitfor runtime exit 0;node scripts/pm/overlap-check.mjsexit 0.Contract review (L2) is owed before landing: the diff changes
packages/spec/src/**and declaresClause-②: yes (widening).Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed (check:generatedreports nothing to regenerate).content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgUpnvPnJ1hR74pUrVj
Generated by Claude Code